package com.lzf.yh.dao;

import com.lzf.yh.entity.Message;

import java.util.List;

/**
 * MessageMapper class
 *
 * @author wyz
 * @date 2021/05/03
 */
public interface MessageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Message record);

    int insertSelective(Message record);

    Message selectByPrimaryKey(Integer id);

    /**
     * 根据吉他名字查询所有的信息
     * @param guitarinfoname
     * @return
     */
    List<Message> selectAllMessage(String guitarinfoname);

    int updateByPrimaryKeySelective(Message record);

    int updateByPrimaryKey(Message record);
}